package com.kh.first.pojo;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.kh.first.utils.LongJsonSerializer;
import org.springframework.format.annotation.DateTimeFormat;

public class KHDevicePojo {
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long id;
    private String deviceName ;
    private Integer deviceType;
    private Integer factoryArea;
    private String useUser ;
    private Long departmentCode;
    private String departmentName;
    private String deviceKind ;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date firstUseTime;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date firstUseTimeStart;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date firstUseTimeEnd;
    private String applyUser ;
    private String remark ;
    private Integer status;
    private String compulaterIp ;
    private Integer start;
    private Integer size;

    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getDeviceName() {
        return deviceName;
    }
    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Integer getDeviceType() {
        return deviceType;
    }
    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getFactoryArea() {
        return factoryArea;
    }
    public void setFactoryArea(Integer factoryArea) {
        this.factoryArea = factoryArea;
    }

    public String getUseUser() {
        return useUser;
    }
    public void setUseUser(String useUser) {
        this.useUser = useUser;
    }

    public Long getDepartmentCode() {
        return departmentCode;
    }
    public void setDepartmentCode(Long departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDeviceKind() {
        return deviceKind;
    }
    public void setDeviceKind(String deviceKind) {
        this.deviceKind = deviceKind;
    }

    public Date getFirstUseTime() {
        return firstUseTime;
    }
    public void setFirstUseTime(Date firstUseTime) {
        this.firstUseTime = firstUseTime;
    }

    public Date getFirstUseTimeStart() {
        return firstUseTimeStart;
    }
    public void setFirstUseTimeStart(Date firstUseTimeStart) {
        this.firstUseTimeStart = firstUseTimeStart;
    }

    public Date getFirstUseTimeEnd() {
        return firstUseTimeEnd;
    }
    public void setFirstUseTimeEnd(Date firstUseTimeEnd) {
        this.firstUseTimeEnd = firstUseTimeEnd;
    }

    public String getApplyUser() {
        return applyUser;
    }
    public void setApplyUser(String applyUser) {
        this.applyUser = applyUser;
    }

    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCompulaterIp() {
        return compulaterIp;
    }
    public void setCompulaterIp(String compulaterIp) {
        this.compulaterIp = compulaterIp;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
}
